import request from '/@/utils/request';

export function deptConfigData(query, str0) {
  return request({
    url: `/bum/${str0}/tree?energyType=` + query,
    method: 'get'
  })
}
export function getCostData(params) {
  return request({
      url: '/admin/eccost/powerCostData',
      method: 'get',
      params 
  })
}
export function getCostDataChart(params) {
  return request({
      url: '/admin/eccost/powerCostBingtu',
      method: 'get',
      params 
  })
}